const app = getApp()
import {ajaxFun} from "../../utils/ajax"
Page({
  data:{
    obj:{}
  },
   onLoad(){
     this.getData()
   },
  async getData(){
      let result=await ajaxFun("/index-infos","get");
      console.log(result);
      this.setData({
        obj:result.data
      })
   }
})
